package com.nnnu.wsnackshop.pojo.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
//@Accessors(chain = true)
//@ExcelIgnoreUnannotated
public class ProductExcelModel {
//    @ExcelProperty(value = "门店名称", index = 0)
//    private String storeName;
//    @ExcelProperty(value = "分类名称", index = 1)
//    private String categoryName;
//    @ExcelProperty(value = "品牌名称", index = 2)
//    private String brandName;
//    @ExcelProperty(value = "商品名称", index = 3)
//    private String name;
//    @ExcelProperty(value = "描述", index = 4)
//    private String description;
//    @ExcelIgnore
//    private String imageUrl;
//    @ExcelProperty(value = "状态（0=inactive,1=active）", index = 6)
//    private Integer status;

    @ExcelProperty(index = 0)
    private String storeName;
    @ExcelProperty(index = 1)
    private String categoryName;
    @ExcelProperty(index = 2)
    private String brandName;
    @ExcelProperty(index = 3)
    private String name;
    @ExcelProperty(index = 4)
    private String description;
    @ExcelProperty(index = 5)
    private String pictureCell;
    @ExcelIgnore
    private String imageUrl;
    @ExcelProperty(index = 6)
    private Integer status;

//    @ExcelProperty("门店名称")
//    private String storeName;
//
//    @ExcelProperty("分类名称")
//    private String categoryName;
//
//    @ExcelProperty("品牌名称")
//    private String brandName;
//
//    @ExcelProperty("商品名称")
//    private String name;
//
//    @ExcelProperty("描述")
//    private String description;
//
//    @ExcelProperty("主图")
//    private String pictureCell;
//
//    @ExcelProperty("状态（0=inactive,1=active）")
//    private Integer status;
}

